package com.yuanfeng.base.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yuanfeng.base.dto.DealerApplyInfoDTO;
import com.yuanfeng.base.entity.BaseDealerApplyInfoEntity;
import com.yuanfeng.commoms.dto.base.DealerApplyDTO;
import com.yuanfeng.commoms.dto.base.DealerGoodsUserInfoDTO;
import com.yuanfeng.commoms.util.ResponseResult;
import com.yuanfeng.commoms.vo.base.DealerApplyInfoVO;

import java.util.Map;

/**
 * @ClassName BaseDealerApplyInfoService
 * @Description 分销商申请信息表
 * @Author cyp
 * @Date 2023-05-25 15:41:48
 * @Version 1.0
 **/
public interface BaseDealerApplyInfoService extends IService<BaseDealerApplyInfoEntity> {
    /**
     * 查询店铺是否需要经销审核
     *
     * @param goodsUserInfo
     * @return
     */
    DealerApplyInfoVO queryDealerApplyByShop(DealerGoodsUserInfoDTO goodsUserInfo);

    /**
     * 经销申请
     * @param dealerApply
     * @return
     */
    ResponseResult applyDealer(DealerApplyDTO dealerApply);

    /**
     *查询经销商列表
     * @param map
     * @return
     */
    ResponseResult queryDealerShopInfo(Map<String,Object> map);


    /**
     * 修改分销商申请信息(店铺名)
     *
     * @param map
     * @return
     */
    ResponseResult updateDealerApplyInfotByMap(Map<String, Object> map);

    /**
     * 商家申请供应商店铺分类页数据获取
     * @param dealerApply
     * @return
     */
    ResponseResult queryDealerClassInfo(DealerApplyInfoDTO dealerApply);

    /**
     * 经销管理--经销商品供应商
     * @param dealerApplyInfo
     * @return
     */
    ResponseResult queryDealerList(DealerApplyInfoDTO dealerApplyInfo);

    /**
     * 经销商品供应商-删除按钮
     * @param dealerApplyInfo
     * @return
     */
    ResponseResult operateDealerApply(DealerApplyInfoVO dealerApplyInfo);
}
